package StrTest;

public class Test {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		String str = "culture|tourism";
		System.out.println(str.indexOf("|"));
		String[] ss = str.split("\\|");
		for(String s : ss) {
			System.out.println(s);
		}
	}

}
